package cn.ai.shoes.client.entity.modelvo;

import cn.ai.shoes.client.entity.interFace.LoreNameProvider;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.*;
import lombok.Data;

@Data
@Schema(name = "图生图最新锁", description = "图生图最新锁")
public class StrhzxsModelVo implements LoreNameProvider {
    @Schema(description = "模型名称")
    @NotBlank(message = "模型名称不能为空")
    private String loreName;
    //主图
    @Schema(description = "主图Id")
    @NotNull(message = "主图不能为空")
    private Integer majorId;
    //附图
    @Schema(description = "附图Id")
    @NotNull(message = "附图不能为空")
    private Integer minorId;
    //主图强度
    @Schema(description = "主图强度")
    @NotNull(message = "主图强度不能为空")
    @Min(value = 0, message = "主图强度不能小于0")
    @Max(value = 10, message = "主图强度不能大于10")
    private Double majorStrength;
    //附图强度
    @Schema(description = "附图强度")
    @NotNull(message = "附图强度不能为空")
    @Min(value = 0, message = "附图强度不能小于0")
    @Max(value = 10, message = "附图强度不能大于10")
    private Double minorStrength;
    //主图强度
    @Schema(description = "结构强度")
    @NotNull(message = "结构强度不能为空")
    @Min(value = 0, message = "结构强度不能小于0")
    @Max(value = 10, message = "结构强度不能大于10")
    private Double structuralStrength;

}
